//
//  HZZFWebImageOperation.h
//  HZZFAdSDK-Kit
//
//  Created by 早范 on 2025/9/10.
//
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

/// A protocol represents cancelable operation.
@protocol HZZFWebImageOperation <NSObject>

/// Cancel the operation
- (void)cancel;

@optional

/// Whether the operation has been cancelled.
@property (nonatomic, assign, readonly, getter=isCancelled) BOOL cancelled;

@end

/// NSOperation conform to `HZZFWebImageOperation`.
@interface NSOperation (HZZFWebImageOperation) <HZZFWebImageOperation>

@end
